function changetext(){
	var contexta=document.getElementById("pinglun").value;
	var len=contexta.length;
	var available=150-len;
	document.getElementById("count").innerHTML=available;
}
function changereply(){
	
	document.getElementById("pinglun").style.height="100px";
	document.getElementById("pinglun").style.display="block";
	document.getElementById("cancel").style.display="block";
	document.getElementById("tishi").style.display="block";
}
function answer(){
	document.getElementById("pinglun").style.height="30px";
	document.getElementById("cancel").style.display="none";
	document.getElementById("replybtn").style.display="block";
	document.getElementById("tishi").style.display="none";
	
}
function closeanswer(){	
	document.getElementById("sureandcancel").style.display="none";
	document.getElementById("replybtn").style.display="block";
	document.getElementById("tips1").style.display="none";
	document.getElementById("textdetial").style.height="30px";
	
}
function answer2(){
	document.getElementById("tempa2").style.display="block";
}
function closeanswer2(){	
	document.getElementById("tempa2").style.display="none";
}
function answer3(){
	document.getElementById("tempa3").style.display="block";
}
function closeanswer3(){	
	document.getElementById("tempa3").style.display="none";
}
